package com.appbee.user.client.gin;

import javax.inject.Inject;
import javax.inject.Provider;

import com.appbee.user.shared.service.UserRequestFactory;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.shared.EventBus;

public class UserRequestFactoryProvider implements Provider<UserRequestFactory>
{
	private final UserRequestFactory rf = GWT.create(UserRequestFactory.class);
	@Inject
	public UserRequestFactoryProvider(EventBus eventBus)
	{
		rf.initialize(eventBus);
	}
	
	@Override
	public UserRequestFactory get()
	{
		return rf;
	}

}
